<?php require_once('fun.php'); ?><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>树洞</title></head><body><form method="get" action="m_p.php"><input name="m" type="text" id="m" maxlength="140"><input type="submit" value="发布"></form><?php $data = $connection->get('statuses/user_timeline', array()); if ($data == NULL) {echo "显示失败";} else { foreach ($data as $entry) {echo $entry->text."<hr>";}} ?></body></html>